Implemented version check