added template context processor