affine working