adding paienment and piece joint file