add the st2 snippet