work on export, tests