Added debug log