Pagination Addition

commit b7bffaf5185fff762820e7b3179d77d794057467
Author: Jason Korth <jkorth@dynamicdoes.com>
Date:   Mon Jun 9 13:18:34 2014 -0500

    added pagination
This with needs to come after line 37's end_loop