added some search functionality