public synchronized void setLocation(String id,int x,int y){
		MutablePoint loc = locations.get(id);
		if(loc==null){
			throw new IllegalArgumentException("id is incorrect");
		}
		loc.x = x;
		loc.y = y;
	}