Improved the result code example #11

Starts to address the problems in #11 - still need o fix second code example