Added pagination

Resolve #12 
Extra blank line detected.