extracted creation of category map