renamed pages to menuItems, seem for fitting