class example from 8-9-13