adding andrew's class example