implemented find_by