qcats = {0:2147,1:2483};