Copy in Haygarth prototype mk2 code