Create compareVersion