Improve comparison action