added new method and main menu