qcats = {0:2852,1:6940,2:7517};