field retrieval for templates