changed find to find_by_id