ph2thomas: switch for testing new implementation