add Version check