menu bar functionalities added