in-class example