implemented settlements for applyAction
added changes?