qcats = {0:2386,1:3201,2:6384};