add template type class to body