Adding get function for search by name