Made slight changes to make pins inex/show look and work better