DRAFT mapPartitions (does not work...)