Made the drop down menu work