some pvp code