Jh add validation for commitment