added import/export functions