changes to Pin scaffold