updated hash-tables example