add  validation