implemented export in a similar way to import