hash example working