state in both fragments