death() and marriage() factorized