qcats = {0:2872,1:2938,2:4681};