Added debug notes