added function for find