fixed up homework on class 15