I'm confused here by the clientVer argument. It would be clearer if you renamed it oldClientVersion.