basic exporting working