add pdofactory class