add console log, and, or snippets