Made the demo a bit more interesting based on a gist I found

https://gist.github.com/davidallsopp/b7ecf8789efa584971c1