set up to work with templatest