added basic methods to control brake current