version assignment while defining a new mode/type
Changing the mode, the version starts from the one of the previous mode. It should start adding 1 to the highest available version for that mode.
Changing the mode, the version starts from the one of the previous mode. It should start adding 1 to the highest available version for that mode.