Starting to look up pin number, but need to handle leadsing zeros