Added function for searching data in response