adding a better grid control system