changed save_threshold to version_timeout and added comments