added resource mapper