more modern import and export to context object