finished generate moves