created snippet.py