rename elements_obj to elements