working with resource_id now