qcats = {0:2159,1:2588,2:2660,3:9548};