my $value = $hash{$id}{$position}{type_a}{subkey2};