Implemented pagination module