Made the inputs go both ways