implemented findWhere and initial