i should stop worrying about the objective function issue