First draft of export method