fixing the example reference to the lead index