add validation constraint