current mapper and reducer