Adding check for version number