refactor version-specific code such that newest is default