* renamed versionize fn to switchToVersion