add hash example to documentation