adding blog 2 source code.