added functions to control a booster and detect short circuits