The unraveling of these nested structures should be done in a helper method as it seems it might be helpful in other areas at some point