first part of homework 14