Added 189 logging lines