def __init__(self, parent, controller):

       tk.Frame.__init__(self, parent)
       tk.Frame.configure(self, bg = "black")

       radio = tk.Button(self, text ="RADIO", bg="black", fg="green", width = 10,
                         command = lambda: controller.show_frame(RadioPage))
       radio.place(x = 15, y = 0)

       map = tk.Button(self, text ="MAP", bg="black", fg="green", width = 10,
                       command = lambda: controller.show_frame(MapPage))
       map.place(x = 95, y = 0)

       data = tk.Button(self, text="DATA", bg="black", fg="green", width = 10,
                        command = lambda: controller.show_frame(DataPage))
       data.place(x = 175, y = 0)

       inv = tk.Button(self, text ="INV", bg="black", fg="green", width = 10,
                       command = lambda: controller.game())
       inv.place(x = 255, y = 0)

       stats = tk.Button(self, text ="STATS", bg="black", fg="green", width = 10,
                         command = lambda: controller.show_frame(StatsPage))
       stats.place(x = 335, y = 0)

        #opening images for buttons

       bonjovi1 = Image.open("coverart\Bonjovi.gif")
       bonjovi = ImageTk.PhotoImage(bonjovi1)

       toto1 = Image.open("coverart\Toto.gif")
       toto = ImageTk.PhotoImage(toto1)

       tameimpala1 = Image.open("coverart\Tameimpala.gif")
       tameimpala = ImageTk.PhotoImage(tameimpala1)

       dmx1 = Image.open("coverart\Dmx.gif")
       dmx = ImageTk.PhotoImage(dmx1)

       daftpunk1 = Image.open("coverart\Daftpunk.gif")
       daftpunk = ImageTk.PhotoImage(daftpunk1)

       gorrillaz1 = Image.open("coverart\Gorrillaz.gif")
       gorrillaz = ImageTk.PhotoImage(gorrillaz1)

       estelle1 = Image.open("coverart\estelle.gif")
       estelle = ImageTk.PhotoImage(estelle1)

       mgmt1 = Image.open("coverart\Mgmt.gif")
       mgmt = ImageTk.PhotoImage(mgmt1)

       saintmotel1 = Image.open("coverart\Saintmotel.gif")
       saintmotel = ImageTk.PhotoImage(saintmotel1)

       music1 = tk.Button(self, image = bonjovi, fg = "white", bg = "black", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song1)))
       music1.image = bonjovi #keeping refrence
       music1.place(x = 70, y = 70)

       music2 = tk.Button(self, image = toto, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song2)))
       music2.image = toto
       music2.place(x = 70, y = 145)

       music3 = tk.Button(self, image = tameimpala, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song3)))
       music3.image = tameimpala
       music3.place(x = 70, y = 220)

       music4 = tk.Button(self, image = dmx, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song4)))
       music4.image = dmx
       music4.place(x = 175 , y = 70)

       music5 = tk.Button(self, image = daftpunk, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song5)))
       music5.image = daftpunk
       music5.place( x = 175 , y = 145)

       music6 = tk.Button(self, image = gorrillaz, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song6)))
       music6.image = gorrillaz
       music6.place(x = 175, y = 220)

       music7 = tk.Button(self, image = estelle, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song7)))
       music7.image = estelle
       music7.place(x = 280, y = 70)

       music8 = tk.Button(self, image = mgmt, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song8)))
       music8.image = mgmt
       music8.place(x = 280, y = 145)

       music9 = tk.Button(self, image = saintmotel, bg = "black", fg = "white", cursor = "hand2", width = 75, height = 75,
                          command = lambda: webbrowser.open_new(controller.music(song9)))
       music9.image = saintmotel
       music9.place(x = 280, y = 220)