Added createBreakerFunction()