implement import_function controler