Work on intervals