changed approach for menu