interval manipulation