saving state
adding stuff to ABAGAIL. doesn't work yet.