Homework 2 for Saasbook