book-610, adding block try except