documenting exceptions