removed deprecated {{ var }} and replaced with new {{$ var }} syntax