Add generate breakpoints

No need to repeat the comments