Finished subpart 4 in Part1