added tms initializer