add functions : compare version