added resource object mapping