added beginning of a main menu