add hash example for operator() overloading