maybe capture the exception here as well?