Changed over hive state to record.