Modified summary code in experiment