Minor change to demo code