refactored jail breaker example