partial support of structured templates