change for to with in the objective