Made onBothSide actually point-free (whoops)