$listOfHostsWithProblems{$currentHostname}->{$currentType} = ++$i;