Edit: machinery.py