setting pin to nil by default