Adding Validation

Trying out validation.