@Override
	public ServerModel finishTurn(FinishTurnRequest request, CookieParams cookie) {
		ServerModel serverGameModel = serverModels.get(cookie.getGameID());
		int owner=request.getPlayerIndex();
		Player player = serverGameModel.getPlayers().get(owner);
		
		DevCards newCards=player.getNewDevCards();
		DevCards oldCards=player.getOldDevCards();
		oldCards.setMonopoly(oldCards.getMonopoly()+newCards.getMonopoly());
//		oldCards.setMonument(oldCards.getMonument()+newCards.getMonument());
		oldCards.setRoadBuilding(oldCards.getRoadBuilding()+newCards.getRoadBuilding());
		oldCards.setSoldier(oldCards.getSoldier()+newCards.getSoldier());
		oldCards.setYearOfPlenty(oldCards.getYearOfPlenty()+newCards.getYearOfPlenty());
		newCards.reset();
		player.setPlayedDevCard(false);
		//player.setNewDevCards(newCards);
		//player.setOldDevCards(oldCards);
		
		serverGameModel.getTurnTracker().nextTurn();
		serverGameModel.incrementVersion();
		
		if ((serverGameModel.getTurnTracker().getStatus().equals("SecondRound") && request.getPlayerIndex() == 0) || 
				!serverGameModel.getTurnTracker().getStatus().equals("FirstRound") && !serverGameModel.getTurnTracker().getStatus().equals("SecondRound")) {
			serverGameModel.getTurnTracker().setStatus("Rolling");
		}
	
		return serverGameModel;
	}