added sleep after each move