qcats = {0:2318,1:2515,2:7103};