modified PartitionStreamreceiver