added track_victories code