import all data at once
refactor to import all data at once