rewrote moves