added logging 2