updated definitions.py