add tms snippets