complex element example is working now