Adding tpdohp code before refactoring.