Added drop down functionality