tweaking export functions