changed find to find_by