adding classes homework