another attempt at getting snippets working