add a shell for resetting the import data
use the function parameters
simplify
add doc blocks