affectation nearly working