change internal 'pin' representation from list to object