Add validation for name, add error handling for no-name