use IoResult in addressbook example