Added log_funcs