changed some snippets.