incorporate fix for import function