Refactored compere_version.