added in-class example