added pins controller