move the element type to its own argument