start to create logic for menu