working on pagintion