- Modified example to get it working.