maybe you could define 10 as a constant max_items_per_page po :)