Ts and Ph Wrapper Functions

Ts and Ph wrapper functions.
Will work on the other shortly