Added Validation code to name