adding sub categories and secondary categories