before adding pagination to popular