while keep only one state