[PD] flext and threading