added mapreduce to otp