TSC routine added