qcats = {0:1871,1:2923,2:3462};