Switched interval and target in interval definition