adding length validation to name