rendering variable in template