Part a and b completed