add some new snippets for graphics stuff