generating trooper family function finished