template parsing with mwlfh