added context base, context and shared context