add  validate action