implemented map in training