Fixed taking breaks (didn't test)