add categories and inheriting options