Is parent redundant here? Also, shouldn't the nucs be at the front of the struct so that sorting makes sense?