save state fixed. simultaneous checking works