got hw2 to compile