add extending class