qcats = {0:1802,1:2159,2:7517,3:9544};