qcats = {0:1770,1:2147};