ph2thomas: switch to new implementation