implements check version