Version 2 of the snippits.py file