added getPin