constructor and stuff for pvp