rough draft of import method