In the middle of trying to fix addPin

it’s incomplete right now