added change state
implemented load state
fixed tests