some modifications to parallel part