added the stable and the game ending.