adding resource