improving searches and paging