Fix typos
Implement switch_side()