added a beta StringTemplate mode (am not sure yet)