qcats = {0:467,1:1770,2:2861};