changed pin definitions