completed basic menu implementation