qcats = {0:1786,1:1866,2:2446};