Decompose applyStrategy, added debugging