solving the version