added find by name function