public void waitUserMessage(){
		Console console = System.console();
		if(Profile.getInstance().isBoost){
	        int myId = Profile.getInstance().getId();
	        for(int i = 1; i <= 20; ++i) {
	            //System.out.println(String.format("broadcasting %d", i));
	            multicastMessage(myId + " broadcast " + i);
	            try {
					Thread.sleep(500);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
	        }
		}
		
		while (true) {
			System.out.println("type your message");
			String command = console.readLine();
			if(command.equals("exit")){
				break;
			}
			if(command.trim().length() > 0){
				multicastMessage(command);
			}
		}
		System.out.println("Bye.");
	}