Add interval inside example