pass extra_context variable