add SimpleStateManager snippets