adding the auto save to problem solving