qcats = {0:3186,1:4762,2:6155};