added exception handling. lesson Requesting Data from the Web the Wrong Way