made counts(cnts) and theta private