controller fills a var called result for the template it was something else before