Implementing t_cmd