Adding versions of code used in live talk at the O2. Watch out, they're still buggy\!