output survival table