Edit: reduction.py