Adding part three of homework.