Adding pagination info, fixing formatting