adding name validation