minor changes to random move