defined validation

Okay, tear it apart :)
Missing a new line