map/reduce init