record state manager