main menu implemented.