trace now returns a trace result instead of a color