changed menu type and added type grid