hash helpers