global_function library