started adding exports() handling