added the resource map