changed the pin numbering