changed pins controller