Worked on the pins controller