prepare for import