add same state
add window