Add braces so that we do not call failure every time