template parsing (add class)