Structural Functional Balancing