got the res_id for the sets to work