changing Pins controller