Finished implementing next.