adding logging 7