minor changes in category initialization