qcats = {0:2147,1:2437,2:2455,3:7103};