implement smarter breaks