code for drop down menu
added GUI