mapper compiles and runs