migrating to TS 3.0