qcats = {0:2217,1:2528,2:6693};