added tsm_editor