use $c in templates