Implemented init of TM