trying to capture all exceptions