Code from my presentation at Openwest 2014