done with TPA outpute