finish exports and imports