Pretty code that cleans up the non-happy path