trying map reduce