can now select and rotate pieces, and it saves