more sicence, use setPin()