added new menu bar functions