part c) partially done
part c) partially done