function name corrected from findby to findBy - capital 'B'