Modifying port calc.