implementation of Export Mode