pin def