add a method to print state values