added 'element' arg to hashGenerator function doc