auto-balancing mechanism