qcats = {0:1824,1:3262,2:6253};