added method for setting movesFinishedCallback