removed returns section from the apply_constraints.py.