changed pins_controller