added WPN debug