findWhere function done