added hash option