adding resource mapping