Generally it's best to not modify the attribute directly, you would want to use local variables here instead.