refactoring breakpoints