implementing menu bar