introduce a optional function call after a move is made