add get_class child to baseclass