added more functionality to menu