reducer3.py