fixes #3 - simple snippet example