added numbers for pagination
finished pagination
added comments and removed old method