changed pin assignment