added Console API Snippets