wip, need to think approach for handling hierarchy