minor
added a function for S-T.
minor