my $name = $class->first_child('name')->{att}->{value};