deleted old code
fixed typo near 'pin'
fixed typo near 'pin'