public synchronized void decisionMessage(int senderID, DecisionMessage dm) {
		console.displayMessage(senderID + " voted for " + dm.getDecision());
		if (dm.getVotingID() != id) {
			console.displayMessage("Got decision message with invalid voting id. Dropping message...");
			return;
		}
		System.out.println(123);
		for (int i = 0; i < votes.length; i++) {
			if (votes[i].getID() == senderID) {
				try {
					int decision = dm.getDecision();
					if (decision >= options.length) {
						console.displayMessage("Error, decision out of range");
						return;
					}
					votes[i].setDecision(decision);
				} catch (ServerException ex) {
					console.displayMessage(ex.getMessage());
				}
				return;
			}
		}
		//Reaching this part of the method it is sure that the senderID is not in the list of voters
		console.displayMessage("Got decision message by someone that is not in the list of voters.");
	}