setting diagram