Changed compiler
ordering fixed
added pagination