added move history for debug