added logging 5