added signal_handler to compare news