added some more usecases for inheritance