compare_state_data