Added import and export functions