add mapreduce algorithms