added link to undoMove function