Added flipping randomly.