This should be 1, not 0.  Spec say non-negative integer.