export functioning