updated maximum_deco.py