add tk_writeln and tk_period.