update to class example