adding catch to bucket examples