adding resource_id as an sw variable name