str -> ts translation
some changes