new import logging logic