Removed recursion, use per_page attribute instead