added pagination to Module