add solution for compare version number