only allow ints in qregs