simplified conditional on version