Removed legend.
Loop works.