Removed endgame for testing purposes