Working on validation directives