add "map" method to sample mapper & interface