qcats = {0:2175,1:2687,2:3317};