Added debug statements for restrict flag