Added error handling for non alphabet word