Improving element creation