finished import functions