This hardcodes 10 while in the maincontroller we have the number on the page as a variable. What's up with that?