added move queue generation