qcats = {0:2897,1:5409,2:8176};