linked drivetrain to template