controller in TM