added check to version number