checkState instead of checkArgument