add method to search by name