I think I;m wiring it up wrong. I think I just need to play around with it more.
but the code looks fine??