compare versions.