refactoring, export all instance text with embedded string