modify import logic