Unclear variables names and bug with duplicate exports --> great refactoring needed