rename magicsquare