updated for mapreduce import