Modified example source code