Expanded behavior.py