Added the validator

Signed-off-by: Exikle <dixondcunha@hotmail.com>