use extendInteractiveContext instead of custom code