moved categories into an initialized hash