sets the foe var