just added some logging lines