added type for menu