first implementation of subtypeSurvival