toggle value if statements