incorporating suggestions by @PBarmby and rerunning entire notebook so cells are numbered better.