qcats = {0:2651,1:2681,2:3613};