fixed up the in-class examples