added interval condition relative to start / end