Added part b
added part b