unit 2 class examples