refacturing the verification of go version