revised the second homework