updated header, added pagination