started debugging how to create a state from a solution.
need to call this new method.