Struggles trying to maintain hierarchy

Sorry for compile errors...