added export and import...not totaly working yet