parfordemo and parfordemo2 are updated, distributor function is changed to codistributor