modify mapper samples