rs_state utility