added assert snippets