Homework2 Version2