adding keep flag to outliet