Made the comparisons for the choosing of the data structs.