balanced function

Balanced operator