comparison and formatting changes