changing extended class