Work through chapter 3 of tutorial