moved legend