working copy from prototype