public boolean syncOperation(List<String> state) {
		System.out.println("[TEMP] Sync of " + this);
		Operation old = getReferenceToOperation().getReferenceToOperation();
		switch (old.operation) {
		case 0: 
			
			return true;
		case 1: 
			System.out.println("here");
			System.out.println(startPosition + "" + old.startPosition + "" + toEnd + "" + old.toEnd);
			if (startPosition != old.startPosition || toEnd != old.toEnd) {
				System.out.println("here again");

				Operation delete = new Operation().delete(old.startPosition, old.startPosition + 1);
				delete.applyOperation(state);
				new Operation().insert(startPosition, old.data, toEnd).applyOperation(state);
			}
			return true;
		case 2: 
			
		case 3: 
			
		default: {
			System.out.println("syncOperation not working!");
			return false;
		}
		}
	}