menu and paginate