Added clear_compare
Changes in clear_compare