minimizing + renamed templates2 to tript