change index to game