It's easier if the checks follow the increment test they're matched against — these should be following filling in ver2 and before the cls_version_inc immediately above.