qcats = {0:1768,1:2314,2:6579};