division into root category and child category