primitive map reduce plugin written