sample_mapper.py in progress