ts and p