version and arg check