saving current state of hw5