Added Zach's changes to pin functionality