hooked up pin matrix