Adding some menu functions