fixed snippets and added custom