Edit File: patterns.py