#state capture