use the updated draw_elements