playing with state per mode