changed cmp_struct to cmp_fractional_struct