adding resource map