some export code