add type for menu