added search by name functionality