refactored "11 - swallowing assertion error"