added pagination to config
trying to paginate
added pagination