add afterTurn hook