It seems odd to set it to 0 instead of nil.  `nil` implies "we don't yet know" whereas `0` sounds like a definite value.