Created Pin Table

Other small changes--this was the code we initially got the system
working with