Verifying codes