check for version