switches sides each turn