using different method to import config