add new boolean to check if import has finished