State capture

State capture