Code for the June 2013 Bristol wokshop