add global context

global context is very useful, you don't have to pass the common context every time.