reverser func toggle states