toggle

this block flips between states