Published source code for Part 2