Added debug statement to read