Would be better to just switch back and forth, rather than using `Math.random()`