Fix n to pinNumber