forgot to push end-of-class code, so this is from the end of section B, and contains a few extra things I didn't have time to show in section A.