conditional survivor function