export before compiling package