adding the log