test main for new hierarchy