Then the S can be written down in 2 ways - to the left or to the right of the P.
The four spaces between them can be filled in ways.
Then this block of six letters can be arranged with the remaining 6 individual letters in 7! ways (not 6!).
The total now is . But we now have to divide by 2! because of the repetition of the T's.