Changing pins controller