make a start on circuit breaker class