Completed Hw 5.1