removed logging from mapper