adding a log