made the example correspond with the latest version