noclose flags added