Homework 1 revised