codegate quals - clone technique