variable names can be extracted from template