'generating element factory