modified prompt and snippets