realized I don't need a lot of the flip flop code now that I am using a switch as a base