updated syntax in templates