added no possible moves ending