version is reset to zero every new session