Homework2 dist