D Detailed description of TSPSUBS routines