Added PT4 code