made C to TM

depends on first pullreq