code copy before rationalisation