changes to victory functions