added hash example for enum