added logging 6