Rather than having these nested so, maybe we could build each sub level and append them, maybe make it look at little cleaner?