Adding some state value extraction to better compare different states

Adding some state value extraction to better compare different states