add previous state