Reference implimentation for 29 Jun workshop.