Add global export
Refactoring of the code