Working on exporting struct