qcats = {0:1794,1:2552,2:3645,3:7881};