print "$key exists in hash" if exists $hash{$key};