code has moved into beaker.py and beaker.r, but do need to add a bit to tutorial