handled randomly generated moves