updated snippets with the correct information