add validation option