defined validation

Okay, tear it apart :)
1) Don't use the `a: b` syntax, but the `a => b` syntax (everywhere).
2) Use parenthesis