added pagination stuff, updated default xml snippet