Misc stuff from my textbook