better transformer loading