updating, and adding problem 17