add template matclass driver