Indeed, I should add an invariant.
Thanks.