Added formula for Text Presentation Program (tpp)