added logging 3