better output formatting, harder to get the best parent