adding logging 8