add find_by method