Have been trying to learn the problem with three inputs at once. Beyond the programming, there is an electrical problem I must be creating. So I want to use three sonic sensors that take care of the open and closed situation all by themselves. When something is in front of them the circuit closes until that something moves away and then it opens. No big deal. One input is no problem for me and arduino. Two also worked fine. Well not exactly fine, there were some floating issues. I have read all about buttons but have not tried the special libraries yet. Have been really having trouble with three inputs. I finally got it working totally clean using a breadboard and DPDT switches in place of the sensors. Problem is that they only work with the switches in a particular order and I don't know why. I am putting up a picture of the breadboard swithch setup that only works in a particular order when it goes into the arduino. I have checked that 4.5+v is flowing when the switch is in the on position on all three at once. Arduino only sees three when they are in a particular order. I have confirmed this with Serial print and Toolduino from Nootropic design. This is the order that works. What have I done that creates this problem and what can I do to avoid it?