added find_by method