example source code for odps book