paginations WIP
better error handling