added export-declarations, wip