external templates work