finished adding all elements