Changing to use new compare version function