duplicate mode variable?