adds hidden element type