added hash helpers