extract pwh stuff