making method calls from do_log