worked on new pagination