automatic template instanciations