chg: public constructor for transformer