adding ti/tv code