works better with a valid version