set and use context passed in configureContext: