added the import function for different levels