using events for top menu, WIP