added handling of the x-val results