Rewrote element creation syntax