proper use of tsd