Context demo code for Terraswarm