qcats = {0:594,1:1140,2:2408};