implemented search by name