added new mapper based on training set