it is used by add_log(), I guess i could jsut replace the call directly