Completed Hw 5.2