updated some more pagination functions