made pagination optional
Merge pull request #1 from ka4tik/master

made pagination optional