how to do export