finish version code