Updated homework 221