Updated program for pvp