added export and import methods