transformer components + plot