search function for new pages