simplified the loading code in import_hhg