Add balance sides function